import Layout from "@/layout/index.vue";

const router_user = [{
    path: "/router_user",
    component: Layout,
    name: "router_user",
    meta: {
        title: "用户管理",
        icon: 'user'
    },
    children: [
        {
            path: 'accounts',
            component: () => import('@/views/users/accounts.vue'),
            name: '账户管理',
            meta: { title: '账户管理', roles: ['other'], icon: 'user' }
        },
        {
            path: 'users',
            component: () => import('@/views/users/users.vue'),
            name: '用户管理',
            meta: { title: '用户管理', roles: ['other'], icon: 'user' }
        },
        {
            path: 'normal_daili',
            component: () => import('@/views/users/normal_daili.vue'),
            name: '普通代理VIP',
            meta: { title: '普通代理VIP', roles: ['other'], icon: 'user' }
        },
        {
            path: 'qudao_daili',
            component: () => import('@/views/users/qudao_daili.vue'),
            name: '渠道代理',
            meta: { title: '渠道代理', roles: ['other'], icon: 'user' }
        },
        {
            path: 'servers',
            component: () => import('@/views/users/servers.vue'),
            name: '服务器管理',
            meta: { title: '服务器管理', roles: ['other'], icon: 'user' }
        },
   
    ]
}];

export default router_user;
